<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge"><!--ie使用edge渲染模式-->
    <meta name="renderer" content="webkit"><!--360渲染模式-->
    <meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1.0, user-scalable=no">
    <title>新闻活动</title>
    <link rel="stylesheet" href="../../../mall/css/basic.css">
    <style type="text/css">
        .activity-head{width: 90%;margin: auto;height: 1rem;}
        .activity-head button{width: 49%;height: 100%;background-color: white;
            outline:none;position: relative;font-size: 0.3rem}
        #title1{float: left}
        #title2{float: right}
        .bottom-line{width: 20%;  height: 3px;  background-color: #FA8072;
            position: absolute;  bottom: 0;  left: 40%;}
        .active-list{width: 90%;height: 5rem;margin: auto}
        .type-line{height: 0.6rem;width: 1px;background-color: #e3e3e3;
        float: left;margin-top: 0.2rem}
        .active-title,.active-p{font-size: 0.28rem}
        .active-title{line-height: 0.5rem}
        .active-p{line-height: 0.4rem;color:#6A8089}
        .date-area{text-align: right;line-height: 0.5rem;font-size: 0.28rem;
        color: #6A8089}
        .active-list ul li{padding-bottom: 0.1rem;padding-top: 0.4rem;
        border-bottom: 1px solid #e3e3e3}
    </style>
    <script src="../../../mall/lib/basicSize.js"></script>
</head>
<body>
<!--导航-->
<div class="top-nav-area">
    <ul>
        <a class="back-a" href="javascript:history.back(-1)"></a>
        <li>新闻活动</li>
    </ul>
</div>
<!--主体-->
<div class="main-body-area">
    <div class="activity-head">
        <button id="title1" class="title-btn">
            <a class="right">热门活动</a>
            <span class="bottom-line"></span>
        </button>
        <span class="type-line"></span>
        <button id="title2" class="title-btn">
            <a class="right">焦点新闻</a>
            <span class="bottom-line hide"></span>
        </button>
    </div>
    <div class="active-list">
        <ul>
            <li>
                <div class="active-title">第八届差爱华比赛开始了～</div>
                <div class="active-p">你是否也做了一个别人眼里的“白日梦”，
                朝着舒适的反方向独行？</div>
                <div class="date-area">2017.12.12</div>
            </li>
            <li>
                <div class="active-title">第八届差爱华比赛开始了～</div>
                <div class="active-p">你是否也做了一个别人眼里的“白日梦”，
                    朝着舒适的反方向独行？</div>
                <div class="date-area">2017.12.12</div>
            </li>
        </ul>
    </div>
</div>
<!--底部导航-->
<div class="bottom-nav-area">
    <ul>
        <li>
            <a class="home" href="#">首页</a>
        </li>
        <li>
            <a class="order" href="#">订单</a>
        </li>
        <li>
            <a class="information" href="#">消息</a>
        </li>
        <li>
            <a class="mine mineEd" href="#">我的</a>
        </li>
    </ul>
</div>
<script src="../../lib/jquery/jquery.min.js"></script>
<script>
    $(document).ready(function () {
        $('.title-btn').click(function () {
            $('.title-btn').find('.bottom-line').addClass('hide');
            $(this).find('.bottom-line').removeClass('hide');
        })
    });

</script>
</body>
</html>